﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Jzy.Model.ESecretary;

using Jzy.DAL.ESecretary;
using Frame.Lib.Core.Base;

namespace Jzy.BLL.ESecretary
{
    public class UserChatBO : CommonOperate<UserChatInfo>
    {
        private UserChatDAL _userChat;
        protected override BaseDAL DAL
        {
            get
            {
                return _userChat;
            }
        }
        public UserChatBO()
        {
            _userChat = new UserChatDAL();
        }

        public List<UserChatInfo> GetList(int userID)
        {
            List<UserChatInfo> lst = _userChat.GetList(userID);
            _userChat.Delete(userID);
            return lst;
        }
    }
}
